/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lesson3.com.demo.inner.member;


public class CarTester {
    
    public static void main(String[] args){
        Car myCar =new Car();
        myCar.addGas(0.75F, 460);
        Car.CarEngine anEngine = myCar.new CarEngine();
        anEngine.rev();
        anEngine.rev();
        anEngine.rev();
        anEngine.rev();
        anEngine.rev();
        System.out.println("The fuel level of the car is "+myCar.getFuelLevel());
    }

}
